package com.ymh.feign;


import com.ymh.common.domain.ResultData;
import com.ymh.domain.OrderDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: 13590
 * @date: 2020/10/27 19:36
 * @description:
 */
@FeignClient("order-service")
public interface OrderFeign {

  @PostMapping("/create")
  ResultData<OrderDTO> create(@RequestBody OrderDTO orderDTO);
}
